<div class="admin">
    <form method="post" name="myform" id="myform" action="">
        <div class="panel admin-panel">
            <div class="panel-head"><strong>添加限时折扣</strong></div>
            <div class="padding border-bottom">
                <div class="bg-back radius padding">
                    <h4>说明：</h4>
                    <p class="text-indent">满即送活动包括店铺所有商品，活动时间不能和已有活动重叠</p>
                    <p class="text-indent">每个满即送活动最多可以设置3个价格级别，点击新增级别按钮可以增加新的级别，价格级别应该由低到高</p>
                </div>
            </div>
            <table class="table table-hover">
                <tr>
                    <td width='160px'><span class="c-red">*</span>活动名称：</td>
                    <td width='*'>
                        <input type="text" class="input input_big" value="" datatype="*" placeholder="" id="" name="xianshi_name" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td width='*'></td>
                </tr>
                <tr>
                    <td width='160px'><span class="c-red">*</span>活动标题：</td>
                    <td width='*'>
                        <input type="text" class="input input_big" value="" placeholder="" id="" name="xianshi_title" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td width='*'></td>
                </tr>
                <tr>
                    <td width='160px'><span class="c-red">*</span>活动描述：</td>
                    <td width='*'>
                        <input type="text" class="input input_big" value="" placeholder="" id="" name="xianshi_explain" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td width='*'></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>开始日期：</td>
                    <td>
                        <input type="text" class="input input_small" readonly="readonly" datatype="*" value="" id="query_start_time" name="start_time" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>结束日期：</td>
                    <td>
                        <input type="text" class="input input_small" readonly="readonly" datatype="*" value="" id="query_end_time" name="end_time" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>购买下限：</td>
                    <td>
                        <input type="text" class="inputL input_small" datatype="*" value="" name="lower_limit" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
            </table>
            <div class="panel-foot text-center">
                <div class="form-button">
                    <input class="button bg-main" type="submit" value="确认保存">
                    <button class="button bg" type="reset">取消</button>
                </div>
            </div>
        </div>
    </form>
</div>

<script type="text/javascript">
    $("#myform").Validform({
        tiptype: 3,
        showAllError:true,
    });
    
    $('#myform').layer({
    });

    $('#query_start_time').duxTime({
        timepicker: false,
        minDate: 0,
        format:"Y-m-d"
    });
    $('#query_end_time').duxTime({
        timepicker: false,
        minDate:0,
        format:"Y-m-d"
    });
</script>